package com.yuanrui.subject.infra.basic.service;

import com.yuanrui.subject.common.entity.PageResult;
import com.yuanrui.subject.infra.basic.entity.SubjectInfoEs;

public interface SubjectEsService {

    /**
     * 插入数据文档
     * @param subjectInfoEs 题目信息
     * @return 是否成功
     */
    boolean insert(SubjectInfoEs subjectInfoEs);

    PageResult<SubjectInfoEs> querySubjectList(SubjectInfoEs subjectInfoEs);

}
